package com.ahwei.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;

import java.io.Serializable;
import java.util.List;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2022-03-14 18:13:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(value = { "handler" })
public class User implements Serializable {
    
    private Long uid;
    
    private String account;
    
    private String password;
    /**
     * 1.管理员 0.普通用户
     */
    private Integer roleId;
    /**
     * 用户详情信息
     */
    private UserDetail userDetail;

    /*权限列表*/
    private List<Function> funList;
}

